#pragma once
#include<stdio.h>
#include<stdlib.h>

#include<assert.h>

typedef int StackType;


typedef struct Stack
{
	int* a;
	int sz;
	int capacity;
}ST;

void STInit(ST* pc);

void STDestory(ST* pc);

void STPush(ST* pc, int x);

void STPop(ST* pc);

StackType STTop(ST* pc);